package com.news.gpb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class News {

    private int news_id;
    private int news_likes;
    private int news_comments;
    private int news_views;
    private int news_collect;
    private String news_title;
    private String news_author;
    private String news_content;
    private String news_picture;
    private String news_tag;
    private Date news_date;
}